package cn.edu.hbpu.pojo;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class ReAttend {
    private Long id;

    private Long attendId;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date attendDate;

    private String reAttendStarter;

    private String currentHandler;

    private Byte status;

    private String comments;

    public ReAttend(Long id, Long attendId, Date attendDate, String reAttendStarter, String currentHandler, Byte status, String comments) {
        this.id = id;
        this.attendId = attendId;
        this.attendDate = attendDate;
        this.reAttendStarter = reAttendStarter;
        this.currentHandler = currentHandler;
        this.status = status;
        this.comments = comments;
    }

    public ReAttend() {
        super();
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getAttendId() {
        return attendId;
    }

    public void setAttendId(Long attendId) {
        this.attendId = attendId;
    }

    public Date getAttendDate() {
        return attendDate;
    }

    public void setAttendDate(Date attendDate) {
        this.attendDate = attendDate;
    }

    public String getReAttendStarter() {
        return reAttendStarter;
    }

    public void setReAttendStarter(String reAttendStarter) {
        this.reAttendStarter = reAttendStarter == null ? null : reAttendStarter.trim();
    }

    public String getCurrentHandler() {
        return currentHandler;
    }

    public void setCurrentHandler(String currentHandler) {
        this.currentHandler = currentHandler == null ? null : currentHandler.trim();
    }

    public String getComments() {
        return comments;
    }

    public void setComments(String comments) {
        this.comments = comments == null ? null : comments.trim();
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }
}